package com.jzcn.common.file;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class StorePathGenerator {

    private StorePathGenerator() {
    }


    @Value("${sys.file.uploadPath}")
    private static String fileStorePrefix;

    public static String getStoreAbsolutePath(String storeRelativePath) {
        return StorePathGenerator.fileStorePrefix + storeRelativePath;
    }

}
